home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / language / pixie.cpt / Pixie Scheme ƒ / Pixie Scheme Help / card_73456.txt < prev    next >
Encoding:
Text File  |  1991-01-07  |  841 b   |  16 lines

  1. -- card: 73456 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2692
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 47
  9. ----- text -----
  10. 276
  11.  
  12. -- part contents for background part 10
  13. ----- text -----
  14.  
  15.     Pixie Scheme is written in a strongly objectΓÇôoriented fashion.  There is lots of data encapsulation.  There are many objects (structs) which contain (pointers to) functions which perform various operations, whose details differ from object to object.  Thus I have a generic method for printing objects, which 
  16. contains no "switch" statement:  It merely looks up the "print" method for the object itself.  In consequence, Pixie Scheme is remarkably easy to modify and maintain.  For example, it took only a few hours to add support for IEEE 80ΓÇôbit floatingΓÇôpoint numbers, and most of that time was spent writing